export default {
  createReportByExamine:{//根据报告数据创建报告
    url: '/his/report/createByReportData',
    require:['token','clientid','title','reportId']//data(选)，reportPages(选，格式：[{"title":"体检报告项标题","data":{}},{"title":"xx报告项标题","data":{}}])
  },
  createReportByReportData:{
    url: '/his/report/createByReportData',
    require:['token','clientid','title','reportDataId']
  },
  createReport:{//创建报告
    url: '/his/report/create',
    require:['token','clientid','title','departmentId','userId']//data(选)、reportPages
  },
  updateReport:{//更新报告
    url: '/his/report/update',
    require:['token','clientid','id']//title(选)、data(选)、userName(选)、sn(选)、enabled(选)
  },
  delReport:{//删除报告
    url: '/his/report/delete',
    require:['token','clientid','id']
  },
  getReport:{//获取报告
    url: '/his/report/get',
    require:['token','clientid','id']
  },
  finishReport:{//完成报告
    url: '/his/report/finish',
    require:['token','clientid','id']
  },
  readyReport:{//报告就绪
    url: '/his/report/ready',
    require:['token','clientid']//reportId,jobId
  },
  printReport:{//打印报告
    url: '/his/report/print',
    require:['token','clientid','id']
  },
  requestDownloadReport:{//请求下载报告
    url: '/his/report/requestDownload',
    require:['token','clientid','id']
  },
  getReportList:{//获取报告列表
    url: '/his/report/list',
    require:['token','clientid']//参数：page、size(选)、departmentId(选)、customerId(选)、state(选)、isView(选)、isPrint(选)、isDownload(选)、isPublish(选)
  },
  getReportByUser:{//用户获取报告列表
    url: '/his/report/listByUser',
    require:['token','clientid']
  },
  //报告模块类型
  createReportModule:{//创建报告模块类型
    url: '/his/reportModule/create',
    require:['token','clientid','title','code']//metadata(选)、data(选)
  },
  updateReportModule:{//更新报告模块类型
    url: '/his/reportModule/update',
    require:['token','id']//title(选)、enabled(选)、metadata(选)、code(选)、data(选)
  },
  delReportModule:{//删除报告模块类型
    url: '/his/reportModule/delete',
    require:['token','id']//id/code
  },
  getReportModule:{//获取报告模块类型
    url: '/his/reportModule/get',
    require:['token','clientid']//id/code
  },
  getReportModuleList:{//获取报告模块类型列表
    url: '/his/reportModule/list',
    require:['token','clientid']
  },
  //报告模块
  createReportItem:{//创建报告模块
    url: '/his/reportItem/create',
    require:['token','clientid','title','reportModuleId','reportId']//data(选)
  },
  delReportItem:{//删除报告模块
    url: '/his/reportItem/delete',
    require:['token','id']
  },
  saveReportItem:{//保存报告模块
    url: '/his/reportItem/saveItem',
    require:['token','id']//data
  },
  finishReportItem:{//完成报告模块
    url: '/his/reportItem/finishItem',
    require:['token','id']
  },
  getReportItem:{//获取报告模块
    url: '/his/reportItem/get',
    require:['token','clientid','id']
  },
  getReportItemList:{//获取报告模块列表
    url: '/his/reportItem/list',
    require:['token','clientid']//page、size(选)、departmentId(选)、userId(选)、state(选)、isView(选)、isPrint(选)、isDownload(选)、isPublish(选)、currExamineDateStart(选)、currExamineDateEnd(选)、nextExamineDateStart(选)、nextExamineDateEnd(选)
  },
  //报告页面
  createReportPage:{//创建报告页面
    url: '/his/reportPage/create',
    require:['token','clientid','title','reportId']//data(选)
  },
  delReportPage:{//删除报告页面
    url: '/his/reportPage/delete',
    require:['token','clientid','id']
  },
  saveReportPage:{//保存报告页面
    url: '/his/reportPage/save',
    require:['token','clientid','id']//data(选)、title(选)
  },
  finishReportPage:{//完成报告页面
    url: '/his/reportPage/finishPage',
    require:['token','clientid','id']
  },
  getReportPage:{//获取报告页面
    url: '/his/reportPage/get',
    require:['token','clientid','id']
  },
  getReportPageList:{//获取报告页面
    url: '/his/reportPage/list',
    require:['token','clientid']//page、size(选)、departmentId(选)、userId(选)、state(选)、isView(选)、doctorId(选)、key(选)
  },
  //报告数据
  createReportDataByExamine:{//创建报告数据
    url: '/his/reportData/createByExamine',
    require:['token','clientid','title','examineId']//data(选)
  },
  delReportData:{//删除报告数据
    url: '/his/reportData/delete',
    require:['token','clientid','id']
  },
  getReportData:{//获取报告数据
    url: '/his/reportData/get',
    require:['token','clientid','id']
  },
  updateReportData:{//更新报告数据
    url: '/his/reportData/update',
    require:['token','clientid','id']//data(选)、title(选)
  },
  getReportDataList:{//获取报告数据列表
    url: '/his/reportData/list',
    require:['token','clientid']//page、size(选)、departmentId(选)、userId(选)、state(选)、isView(选)、doctorId(选)、key(选)
  },
  finishReportData:{//完成报告数据
    url: '/his/reportData/finish',
    require:['token','clientid','id']
  },
  createReportData:{//创建报告数据
    url: '/his/reportData/create',
    require:['token','clientid']//title、departmentCode、customerId、data(选)
  },
}
